package com.mohansever.tool;

import org.apache.commons.lang3.RandomStringUtils;

public class UserId {
	/**
	 * 随机生成八位不重复的userid
	 * @return
	 */
	public static String createUserId(){
		String userId=RandomStringUtils.random(8, "ABCDEFGHIGKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890");
		return userId;
	} 
}
